import type { LoaderFunctionArgs } from "@remix-run/node";
import { authenticate } from "../shopify.server";

export const loader = async ({ request }: LoaderFunctionArgs) => {
  console.log('进入鉴权函数')
  const {session} = await authenticate.admin(request);

  console.log('鉴权完成，session:',session)

  return null;
};
